package com.maodou.android.data.model

import com.squareup.moshi.JsonClass

/**
 * @Author Xing
 * @CreateTime 2025年08月25日
 * @Description 账号相关bean
 */
@JsonClass(generateAdapter = true)
data class AccountCategoryVo(
    var id: String? = null,
    val name: String? = null
)

@JsonClass(generateAdapter = true)
data class AccountCheckResp(
    var status: String? = null,
    var uid: String? = null,
)

@JsonClass(generateAdapter = true)
data class TwofaCodeResp(
    var expireIn: Int = 30,
    var code: String? = null,
)

@JsonClass(generateAdapter = true)
data class ProxyCheckResp(
    var asnCode: String? = null,
    var asnName: String? = null,
    var city: String? = null,
    var countryCode: String? = null,
    var ip: String? = null,
    var lat: String? = null,
    var lng: String? = null,
    var region: String? = null,
    var timeZone: String? = null,
)

@JsonClass(generateAdapter = true)
data class ProxyInfo(
    var proxyType: String? = null,
    var proxyHost: String? = null,
    var proxyPort: String? = null,
    var proxyAccount: String? = null,
    var proxyPassword: String? = null,
)

@JsonClass(generateAdapter = true)
data class AccountFilterParams(
    var platforms: Set<String>? = null,
    var statuses: Set<String>? = null,
    var tags: Set<String>? = null,
)

@JsonClass(generateAdapter = true)
data class AccountAuthInfo(
    var uid: String? = null,
    var content: String? = null,
)